package com.xz.questions.config;

import com.alibaba.dashscope.aigc.generation.Generation;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * 用户可以通过与Generation对象进行交互，
 * 获得自然、流畅、
 * 准确的回答或任务完成结果，从而更加高效地与机器进行交互
 */
@Configuration
public class AiConfig {

    @Bean
    public Generation generation(){
        return new Generation();
    }
}
